package com.oig.sys.auth.service;

import com.oig.sys.auth.dto.OpenAuthDto;
import com.oig.sys.auth.vo.OpenAuthVo;

/**
 * @author wuxl
 */
public interface ITbOpenAuthService {

	/**
	 * add
	 */
	OpenAuthVo addOpenAuth(OpenAuthDto openAuthDto);

	/**
	 * update
	 */
	OpenAuthVo updateOpenAuth(OpenAuthDto openAuthDto);

	/**
	 * cancel
	 */
	void cancelOpenAuth(Integer id);


	OpenAuthVo getOpenAuthByType(String type);

}
